#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
	double a;
	cin >> a;
	cout << fixed << setprecision(1) << a * 9 / 5 + 32;
	return 0;
}
